package com.gohi.main.store.hbm;

import java.util.ArrayList;
import java.util.List;

import com.gohi.main.util.StringUtil;

/**
 * <B>限时特卖</B>
 * @author 肖得明<br>
 * 2015年6月2日12时46分27秒
 */public class ShopgooSpecialoffer extends com.gohi.core.model.BaseModel{
    //
    private Integer id ;
    //团购名称
    private String name ;
    //团购说明
    private String intro ;
    //开始时间
    private Integer start_time ;
    //结束时间
    private Integer end_time ;
    //商铺ID
    private Integer store_id ;
    //商铺名称
    private String store_name ;
    //特卖价格
    private String price ;
    //原始价格
    private String original_price;
    //购团数量
    private Integer buyer_count ;
    //购买上线
    private Integer buyer_limit ;
    //购买人数
    private Integer buyer_num ;
    //特卖图片
    private String pic ;
    //发布时间
    private Integer publish_time ;
    //1.否 2.是 (热门团购)
    private Integer is_hot ;
    //1.开启 2.关闭
    private Integer is_open ;
    //城市ID
    private Integer city_id ;
    //区域ID
    private Integer area_id ;
    //商区ID
    private Integer mall_id ;
    //大分类ID
    private Integer class_id ;
    //小分类ID
    private Integer s_class_id ;
    //1.待审核 2.审核通过 3.审核未通过
    private Integer is_audit ;
    //分佣比例
    private Integer settle ;
    //1.是 2.否
    private Integer is_refund ;
    //项目服务持续时间
    private Integer howlong ;
    //评论总数
    private Integer comment_count ;
    //是否上架(0.下架1.上架)
    private Integer is_on_shelf ;
    //下架原因
    private String off_shelf_reason ;
    
    private Integer limit;//页码
    //地址
    private String address;
    //商家联系电话
    private  String telephone;
	private List<String> piclist =new ArrayList<String>();
    
	private String  timestr;
	private Integer business_starttime;
	private Integer business_endtime;
	
    public Integer getBusiness_starttime() {
		return business_starttime;
	}

	public void setBusiness_starttime(Integer business_starttime) {
		this.business_starttime = business_starttime;
	}

	public Integer getBusiness_endtime() {
		return business_endtime;
	}

	public void setBusiness_endtime(Integer business_endtime) {
		this.business_endtime = business_endtime;
	}

	public String getTimestr() {
		return StringUtil.parentSimple(end_time,"yyyy-MM-dd hh:mm:ss");
	}

	public void setTimestr(String timestr) {
		this.timestr = timestr;
	}

	public List<String> getPiclist() {
		return piclist;
	}

	public void setPiclist(List<String> piclist) {
		this.piclist = piclist;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getLimit() {
		return limit==null?0:limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	
	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	/**
     *
     **/
    public Integer getId() {
        return this.id;
    }

    /**
     * @param id 
     **/
    public Integer setId(Integer id) {
        return this.id=id;
    }

    /**
     *团购名称
     **/
    public String getName() {
        return this.name;
    }

    /**
     * @param name 团购名称
     **/
    public String setName(String name) {
        return this.name=name;
    }

    /**
     *团购说明
     **/
    public String getIntro() {
        return this.intro;
    }

    /**
     * @param intro 团购说明
     **/
    public String setIntro(String intro) {
        return this.intro=intro;
    }

    /**
     *开始时间
     **/
    public Integer getStart_time() {
        return this.start_time;
    }

    /**
     * @param start_time 开始时间
     **/
    public Integer setStart_time(Integer start_time) {
        return this.start_time=start_time;
    }

    /**
     *结束时间
     **/
    public Integer getEnd_time() {
        return this.end_time;
    }

    /**
     * @param end_time 结束时间
     **/
    public Integer setEnd_time(Integer end_time) {
        return this.end_time=end_time;
    }

    /**
     *商铺ID
     **/
    public Integer getStore_id() {
        return this.store_id;
    }

    /**
     * @param store_id 商铺ID
     **/
    public Integer setStore_id(Integer store_id) {
        return this.store_id=store_id;
    }

    /**
     *商铺名称
     **/
    public String getStore_name() {
        return this.store_name;
    }

    /**
     * @param store_name 商铺名称
     **/
    public String setStore_name(String store_name) {
        return this.store_name=store_name;
    }

    /**
     *特卖价格
     **/
    public String getPrice() {
        return this.price;
    }

    /**
     * @param price 特卖价格
     **/
    public String setPrice(String price) {
        return this.price=price;
    }

    /**
     *购团数量
     **/
    public Integer getBuyer_count() {
        return this.buyer_count;
    }

    /**
     * @param buyer_count 购团数量
     **/
    public Integer setBuyer_count(Integer buyer_count) {
        return this.buyer_count=buyer_count;
    }

    /**
     *购买上线
     **/
    public Integer getBuyer_limit() {
        return this.buyer_limit;
    }

    /**
     * @param buyer_limit 购买上线
     **/
    public Integer setBuyer_limit(Integer buyer_limit) {
        return this.buyer_limit=buyer_limit;
    }

    /**
     *购买人数
     **/
    public Integer getBuyer_num() {
        return this.buyer_num;
    }

    /**
     * @param buyer_num 购买人数
     **/
    public Integer setBuyer_num(Integer buyer_num) {
        return this.buyer_num=buyer_num;
    }

    /**
     *特卖图片
     **/
    public String getPic() {
        return this.pic;
    }

    /**
     * @param pic 特卖图片
     **/
    public String setPic(String pic) {
        return this.pic=pic;
    }

    /**
     *发布时间
     **/
    public Integer getPublish_time() {
        return this.publish_time;
    }

    /**
     * @param publish_time 发布时间
     **/
    public Integer setPublish_time(Integer publish_time) {
        return this.publish_time=publish_time;
    }

    /**
     *1.否 2.是 (热门团购)
     **/
    public Integer getIs_hot() {
        return this.is_hot;
    }

    /**
     * @param is_hot 1.否 2.是 (热门团购)
     **/
    public Integer setIs_hot(Integer is_hot) {
        return this.is_hot=is_hot;
    }

    /**
     *1.开启 2.关闭
     **/
    public Integer getIs_open() {
        return this.is_open;
    }

    /**
     * @param is_open 1.开启 2.关闭
     **/
    public Integer setIs_open(Integer is_open) {
        return this.is_open=is_open;
    }

    /**
     *城市ID
     **/
    public Integer getCity_id() {
    	//默认上海
        return  city_id;
    }

    /**
     * @param city_id 城市ID
     **/
    public Integer setCity_id(Integer city_id) {
        return this.city_id=city_id;
    }

    /**
     *区域ID
     **/
    public Integer getArea_id() {
        return this.area_id;
    }

    /**
     * @param area_id 区域ID
     **/
    public Integer setArea_id(Integer area_id) {
        return this.area_id=area_id;
    }

    /**
     *商区ID
     **/
    public Integer getMall_id() {
        return this.mall_id;
    }

    /**
     * @param mall_id 商区ID
     **/
    public Integer setMall_id(Integer mall_id) {
        return this.mall_id=mall_id;
    }

    /**
     *大分类ID
     **/
    public Integer getClass_id() {
        return this.class_id;
    }

    /**
     * @param class_id 大分类ID
     **/
    public Integer setClass_id(Integer class_id) {
        return this.class_id=class_id;
    }

    /**
     *小分类ID
     **/
    public Integer getS_class_id() {
        return this.s_class_id;
    }

    /**
     * @param s_class_id 小分类ID
     **/
    public Integer setS_class_id(Integer s_class_id) {
        return this.s_class_id=s_class_id;
    }

    /**
     *1.待审核 2.审核通过 3.审核未通过
     **/
    public Integer getIs_audit() {
        return this.is_audit;
    }

    /**
     * @param is_audit 1.待审核 2.审核通过 3.审核未通过
     **/
    public Integer setIs_audit(Integer is_audit) {
        return this.is_audit=is_audit;
    }

    /**
     *分佣比例
     **/
    public Integer getSettle() {
        return this.settle;
    }

    /**
     * @param settle 分佣比例
     **/
    public Integer setSettle(Integer settle) {
        return this.settle=settle;
    }

    /**
     *1.是 2.否
     **/
    public Integer getIs_refund() {
        return this.is_refund;
    }

    /**
     * @param is_refund 1.是 2.否
     **/
    public Integer setIs_refund(Integer is_refund) {
        return this.is_refund=is_refund;
    }

    /**
     *项目服务持续时间
     **/
    public Integer getHowlong() {
        return this.howlong;
    }

    /**
     * @param howlong 项目服务持续时间
     **/
    public Integer setHowlong(Integer howlong) {
        return this.howlong=howlong;
    }

    /**
     *评论总数
     **/
    public Integer getComment_count() {
        return this.comment_count;
    }

    /**
     * @param comment_count 评论总数
     **/
    public Integer setComment_count(Integer comment_count) {
        return this.comment_count=comment_count;
    }

    /**
     *是否上架(0.下架1.上架)
     **/
    public Integer getIs_on_shelf() {
        return this.is_on_shelf;
    }

    /**
     * @param is_on_shelf 是否上架(0.下架1.上架)
     **/
    public Integer setIs_on_shelf(Integer is_on_shelf) {
        return this.is_on_shelf=is_on_shelf;
    }

    /**
     *下架原因
     **/
    public String getOff_shelf_reason() {
        return this.off_shelf_reason;
    }

    /**
     * @param off_shelf_reason 下架原因
     **/
    public String setOff_shelf_reason(String off_shelf_reason) {
        return this.off_shelf_reason=off_shelf_reason;
    }

	public String getOriginal_price() {
		return original_price;
	}

	public void setOriginal_price(String original_price) {
		this.original_price = original_price;
	}
    
}